package com.ruoyi.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ruoyi.entity.LqqTest;
import com.ruoyi.mapper.LqqTestMapper;
import com.ruoyi.service.LqqTestService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 落清秋
 * @since 2020-06-24
 */
@Service
public class LqqTestServiceImap extends ServiceImpl<LqqTestMapper, LqqTest> implements LqqTestService {

    @Autowired
    LqqTestMapper lqqTestMapper;

    @Override
    public List<LqqTest> selectList() {
        QueryWrapper<LqqTest> lqqTestQueryWrapper = new QueryWrapper<>();
        lqqTestQueryWrapper.eq("name","肥粽");
        List<LqqTest> lqqTestList = lqqTestMapper.selectList(lqqTestQueryWrapper);
        return lqqTestList;
    }
}
